//Page Object
Page({
  data: {
    //轮播图数组
    swiperList:[
      {
        id:0,
        img_src:"//gw.alicdn.com/imgextra/i1/18/O1CN01ajG5c01C0HlQ1Q3AX_!!18-0-lubanu.jpg"
      },
      {
        id:1,
        img_src:"//gw.alicdn.com/imgextra/i2/141/O1CN017nOk9y1CucTqslkay_!!141-0-lubanu.jpg"
      }
    ],
    
    //分类导航
    catesList:[
      {
        id:0,
        name:"主食",
        img_src:"http://m.qpic.cn/psc?/V54O4lwB3zKAMk0yTM7b3E4fDf0WO1Qf/ruAMsa53pVQWN7FLK88i5h.7xHgHIljCvzFgzmG67gxTuhGxhAF1hyY3XjhChmv3RAzT.SMpU0Vcj4OS6B4AbwpUEGWEKDneL7dXB455Mzo!/mnull&bo=yADIAAAAAAADByI!&rf=photolist&t=5",
        url:"/pages/category/index"
      },
      {
        id:3,
        name:"饮料",
        img_src:"http://m.qpic.cn/psc?/V54O4lwB3zKAMk0yTM7b3E4fDf0WO1Qf/ruAMsa53pVQWN7FLK88i5h.7xHgHIljCvzFgzmG67gx7dfuPjBq*3HPbuyEJ2f*n*4qJFWZbnz0Ns6qAsvad59g.PAxwwS7zmAZk0uQA7rE!/b&bo=yADIAAAAAAADByI!&rf=viewer_4",
        url:"/pages/category/index"
      },
      {
        id:1,
        name:"辣条",
        img_src:"http://m.qpic.cn/psc?/V54O4lwB3zKAMk0yTM7b3E4fDf0WO1Qf/ruAMsa53pVQWN7FLK88i5mKE8T9ICC8WC8AL9yeLrRP2vuiS.myHZ01TrJR6tMUOcZIlpEMytaKe6GgF2y.dSlH*ApTzCFTbmpBFkOLXFeM!/mnull&bo=yADIAAAAAAADByI!&rf=photolist&t=5",
        url:"/pages/category/index"
      },
      {
        id:2,
        name:"零食",
        img_src:"http://m.qpic.cn/psc?/V54O4lwB3zKAMk0yTM7b3E4fDf0WO1Qf/ruAMsa53pVQWN7FLK88i5mKE8T9ICC8WC8AL9yeLrROcE*aUKw*IFKrqxovFMGa2ocRf*VuscMFzAyu5iHmcKhOX5.B*C03y3NexwnZf9oA!/mnull&bo=yADIAAAAAAADByI!&rf=photolist&t=5",
        url:"/pages/category/index"
      }
    ],
    

    floorList:[
      {
        aid:0,
        title:"时装",
        
      }
    ]
  },

  handSwiper(){
    wx.showToast({
      title: '轮播图招商',
      icon:'none'
    })
  },
  //options(Object)
  onLoad: function(options) {
    
      
  },
  onReady: function() {
    
  },
  onShow: function() {
    
  },
  onHide: function() {

  },
  onUnload: function() {

  },
  onPullDownRefresh: function() {

  },
  onReachBottom: function() {

  },
  onShareAppMessage: function() {

  },
  onPageScroll: function() {

  },
  //item(index,pagePath,text)
  onTabItemTap:function(item) {

  }
});
  